/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package repomanagement.entities;

/**
 *
 * @author Nicolas
 */
public class Person {
    private int persId;
    private String name;
    private String address;
    private String mail;

    public Person() {
    }

    public Integer getPersId() {
        return persId;
    }

    public void setPersId(Integer persId) {
        this.persId = persId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    @Override
    public String toString() {
        return "Person[NAME=" + name + " - ADDRESS="+address+" - MAIL="+mail+"]";
    }
}
